package com.ruoyi.activiti.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.activiti.temp.BaseEntity;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;

/**
 * 模具使用申请业务对象 biz_applyModel
 *
 * @author 
 * @date 
 */
public class BizApplyModel extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Long id;

	/** 申请类型 */
	@Excel(name = "申请类型")
	private String type;

	/** 标题 */
	@Excel(name = "标题")
	private String title;

	/** 原因 */
	@Excel(name = "原因")
	private String reason;

	/*    *//** 开始时间 */
	/*
	 * @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd") private Date
	 * startTime;
	 * 
	 *//** 结束时间 */
	/*
	 * @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd") private Date
	 * endTime;
	 * 
	 *//** 模具使用申请时长，单位秒 *//*
						 * @Excel(name = "模具使用申请时长，单位秒") private Long totalTime;
						 */

	/** 流程实例ID */
	@Excel(name = "流程实例ID")
	private String instanceId;

	/** 申请人 */
	@Excel(name = "申请人")
	private String applyUser;

	/** 申请时间 */
	@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date applyTime;

	/** 实际开始时间 */
	private Date realityStartTime;

	/** 实际结束时间 */
	private Date realityEndTime;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return title;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getReason() {
		return reason;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public String getInstanceId() {
		return instanceId;
	}

	public String getApplyUser() {
		return applyUser;
	}

	public void setApplyUser(String applyUser) {
		this.applyUser = applyUser;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public Date getRealityStartTime() {
		return realityStartTime;
	}

	public void setRealityStartTime(Date realityStartTime) {
		this.realityStartTime = realityStartTime;
	}

	public Date getRealityEndTime() {
		return realityEndTime;
	}

	public void setRealityEndTime(Date realityEndTime) {
		this.realityEndTime = realityEndTime;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("type", getType())
				.append("title", getTitle()).append("reason", getReason())
				.append("instanceId", getInstanceId()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime()).append("applyTime", getApplyTime()).toString();
	}
}
